﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BOMS.DAL;
using System.Data;

namespace BOMS.WebUI
{
    public partial class _Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string userId = HttpContext.Current.User.Identity.Name;

            ShowWelcome(userId);
        }

        private void ShowWelcome(string userId)
        {
            string UserName = Web.Common.GetCurrentUserNameChz();
            welcome.Text = "用户名：<b>" + UserName + "</b>";
        }
    }
}